<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Catharsis.NET.Commons: Catharsis.Commons.DateTimeExtensions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Catharsis.NET.Commons
   &#160;<span id="projectnumber">2.8</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_catharsis_1_1_commons_1_1_date_time_extensions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_catharsis_1_1_commons_1_1_date_time_extensions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Catharsis.Commons.DateTimeExtensions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p> 
 <a href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1b4e8cb0cd3a466c4f05669579b42103"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a1b4e8cb0cd3a466c4f05669579b42103">DownTo</a> (this DateTime self, DateTime to, Action action)</td></tr>
<tr class="separator:a1b4e8cb0cd3a466c4f05669579b42103"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c80b14c2cc253a2e08c91935ab214e"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a49c80b14c2cc253a2e08c91935ab214e">EndOfDay</a> (this DateTime self)</td></tr>
<tr class="separator:a49c80b14c2cc253a2e08c91935ab214e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa1d838ce79e0cc8e3d51eba3f6a3ce3"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#afa1d838ce79e0cc8e3d51eba3f6a3ce3">EndOfMonth</a> (this DateTime self)</td></tr>
<tr class="separator:afa1d838ce79e0cc8e3d51eba3f6a3ce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34d586fa30aa3f8513037663bbbd5c09"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a34d586fa30aa3f8513037663bbbd5c09">EndOfYear</a> (this DateTime self)</td></tr>
<tr class="separator:a34d586fa30aa3f8513037663bbbd5c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa64569b7d4bf72dc13246ba1bc4df2d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#aaa64569b7d4bf72dc13246ba1bc4df2d">Friday</a> (this DateTime self)</td></tr>
<tr class="separator:aaa64569b7d4bf72dc13246ba1bc4df2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61ff6c5c7d2e30deb7570a29e4ea537"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ab61ff6c5c7d2e30deb7570a29e4ea537">ISO8601</a> (this DateTime self)</td></tr>
<tr class="separator:ab61ff6c5c7d2e30deb7570a29e4ea537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa535942f8dc8054e5785729d671372bd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#aa535942f8dc8054e5785729d671372bd">IsSameDate</a> (this DateTime self, DateTime other)</td></tr>
<tr class="separator:aa535942f8dc8054e5785729d671372bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a247228b3ae45617f45af08a5814e8e32"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a247228b3ae45617f45af08a5814e8e32">IsSameTime</a> (this DateTime self, DateTime other)</td></tr>
<tr class="separator:a247228b3ae45617f45af08a5814e8e32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adab0ac1fd51dab4519093e6a64a838ac"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#adab0ac1fd51dab4519093e6a64a838ac">Monday</a> (this DateTime self)</td></tr>
<tr class="separator:adab0ac1fd51dab4519093e6a64a838ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8115a01f9cb8d90e5c7b53288fc389c2"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a8115a01f9cb8d90e5c7b53288fc389c2">NextDay</a> (this DateTime self)</td></tr>
<tr class="separator:a8115a01f9cb8d90e5c7b53288fc389c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab516688d321ee30d482d7ddf3d9f4204"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ab516688d321ee30d482d7ddf3d9f4204">NextMonth</a> (this DateTime self)</td></tr>
<tr class="separator:ab516688d321ee30d482d7ddf3d9f4204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb079e798052ed7157cd7e8cbb342a5a"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#afb079e798052ed7157cd7e8cbb342a5a">NextYear</a> (this DateTime self)</td></tr>
<tr class="separator:afb079e798052ed7157cd7e8cbb342a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6fc1408b26e228faaaeb7e27818ee19"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ab6fc1408b26e228faaaeb7e27818ee19">PreviousDay</a> (this DateTime self)</td></tr>
<tr class="separator:ab6fc1408b26e228faaaeb7e27818ee19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b87238df256890fdf28bed90dc6fc64"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a1b87238df256890fdf28bed90dc6fc64">PreviousMonth</a> (this DateTime self)</td></tr>
<tr class="separator:a1b87238df256890fdf28bed90dc6fc64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af930a259627613325970cceb142435a8"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#af930a259627613325970cceb142435a8">PreviousYear</a> (this DateTime self)</td></tr>
<tr class="separator:af930a259627613325970cceb142435a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae44da7b1843dcaf76d3e53745f6b68aa"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ae44da7b1843dcaf76d3e53745f6b68aa">RFC1121</a> (this DateTime self)</td></tr>
<tr class="separator:ae44da7b1843dcaf76d3e53745f6b68aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad06af7546b7647243de05f4aedba27f1"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ad06af7546b7647243de05f4aedba27f1">Saturday</a> (this DateTime self)</td></tr>
<tr class="separator:ad06af7546b7647243de05f4aedba27f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa309e4f20ad8f27bd99d3ecd8c9d6e23"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#aa309e4f20ad8f27bd99d3ecd8c9d6e23">StartOfDay</a> (this DateTime self)</td></tr>
<tr class="separator:aa309e4f20ad8f27bd99d3ecd8c9d6e23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a24a30113fc1cfb30b0f446bbf9e39"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a02a24a30113fc1cfb30b0f446bbf9e39">StartOfMonth</a> (this DateTime self)</td></tr>
<tr class="separator:a02a24a30113fc1cfb30b0f446bbf9e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f4a380beed26a727d385c5ccd6fac3"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a63f4a380beed26a727d385c5ccd6fac3">StartOfYear</a> (this DateTime self)</td></tr>
<tr class="separator:a63f4a380beed26a727d385c5ccd6fac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0ead9ddb342442ae43071e52da05a7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#adc0ead9ddb342442ae43071e52da05a7">Sunday</a> (this DateTime self)</td></tr>
<tr class="separator:adc0ead9ddb342442ae43071e52da05a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600701f0e593ea116e37ae37cb6ebc83"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a600701f0e593ea116e37ae37cb6ebc83">Thursday</a> (this DateTime self)</td></tr>
<tr class="separator:a600701f0e593ea116e37ae37cb6ebc83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a823d27321b3eb2f1c2b8de2924488a07"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a823d27321b3eb2f1c2b8de2924488a07">Tuesday</a> (this DateTime self)</td></tr>
<tr class="separator:a823d27321b3eb2f1c2b8de2924488a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a498ef4682162163c17a324c06e9835cf"><td class="memItemLeft" align="right" valign="top">static DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#a498ef4682162163c17a324c06e9835cf">UpTo</a> (this DateTime self, DateTime to, Action action)</td></tr>
<tr class="separator:a498ef4682162163c17a324c06e9835cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1679d42cc4764b09b5b61ea9cb2621d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html#ae1679d42cc4764b09b5b61ea9cb2621d">Wednesday</a> (this DateTime self)</td></tr>
<tr class="separator:ae1679d42cc4764b09b5b61ea9cb2621d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Set of extension methods for structure DateTime.</p>
<dl class="section see"><dt>See also</dt><dd>DateTime</dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1b4e8cb0cd3a466c4f05669579b42103"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.DownTo </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Action&#160;</td>
          <td class="paramname"><em>action</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given range of dates decrements starting date by one day down to final date, calling specified action with each iteration.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Starting date to decrement.</td></tr>
    <tr><td class="paramname">to</td><td>Final date to decrement to.</td></tr>
    <tr><td class="paramname">action</td><td>Delegate to call on each step of iteration.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Back reference to <em>self</em>  instance.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>action</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a49c80b14c2cc253a2e08c91935ab214e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.EndOfDay </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the end of current day.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the end of day of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>StartOfDay(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="afa1d838ce79e0cc8e3d51eba3f6a3ce3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.EndOfMonth </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the end of current month.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the end of month of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>StartOfDay(DateTime), StartOfMonth(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="a34d586fa30aa3f8513037663bbbd5c09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.EndOfYear </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the end of current year.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the end of year of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>StartOfYear(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="aaa64569b7d4bf72dc13246ba1bc4df2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Friday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Friday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Friday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="ab61ff6c5c7d2e30deb7570a29e4ea537"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.DateTimeExtensions.ISO8601 </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Formats given date/time instance according to ISO 8601 specification and returns formatted date as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Formatted date/time value as a string.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTimeFormatInfo</dd></dl>

</div>
</div>
<a class="anchor" id="aa535942f8dc8054e5785729d671372bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.IsSameDate </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether two DateTime object instances represent the same date (have same year/month/day values).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Curent date to compare with the second.</td></tr>
    <tr><td class="paramname">other</td><td>Second date to compare with the current.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if both <em>self</em>  and <em>other</em>  have equals date component.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>IsSameTime(DateTime, DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="a247228b3ae45617f45af08a5814e8e32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.IsSameTime </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>other</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether two DateTime object instances represent the same time (have same hour/minute/second values).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Current date to compare with the second.</td></tr>
    <tr><td class="paramname">other</td><td>Second date to compare with the current.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if both <em>self</em>  and <em>other</em>  have equal time component.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>IsSameDate(DateTime, DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="adab0ac1fd51dab4519093e6a64a838ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Monday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Monday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Monday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="a8115a01f9cb8d90e5c7b53288fc389c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.NextDay </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the next day from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the day after the day of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddDays(double), PreviousDay(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="ab516688d321ee30d482d7ddf3d9f4204"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.NextMonth </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the next month from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the month after the month of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddMonths(int), PreviousMonth(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="afb079e798052ed7157cd7e8cbb342a5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.NextYear </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the next year from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the year after the year of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddYears(int), PreviousYear(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="ab6fc1408b26e228faaaeb7e27818ee19"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.PreviousDay </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the previous day from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the day before the day of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddDays(double), NextDay(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="a1b87238df256890fdf28bed90dc6fc64"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.PreviousMonth </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the previous month from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the month before the month of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddMonths(int), NextMonth(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="af930a259627613325970cceb142435a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.PreviousYear </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the previous year from the current date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the year before the year of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.AddYears(int), NextYear(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="ae44da7b1843dcaf76d3e53745f6b68aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.DateTimeExtensions.RFC1121 </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Formats given date/time instance according to RFC 1123 specification and returns formatted date as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Formatted date/time value as a string.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTimeFormatInfo</dd></dl>

</div>
</div>
<a class="anchor" id="ad06af7546b7647243de05f4aedba27f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Saturday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Saturday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Saturday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="aa309e4f20ad8f27bd99d3ecd8c9d6e23"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.StartOfDay </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the start of day.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represent the start of day of the specified <em>self</em> .</dd></dl>
<p>Date component (year, month, day) remains the same, while time component (hour/minute/second) is changed to represent the beginning of the day (hour : 0, minute : 0, second : 0).</p>
<dl class="section see"><dt>See also</dt><dd>EndOfDay(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="a02a24a30113fc1cfb30b0f446bbf9e39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.StartOfMonth </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the start of month.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the start of month of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>EndOfMonth(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="a63f4a380beed26a727d385c5ccd6fac3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.StartOfYear </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given date/time instance returns a new date/time, representing the start of year.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Original date/time object instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>New date/time object instance that represents the start of year of the specified <em>self</em> .</dd></dl>
<dl class="section see"><dt>See also</dt><dd>EndOfYear(DateTime)</dd></dl>

</div>
</div>
<a class="anchor" id="adc0ead9ddb342442ae43071e52da05a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Sunday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Sunday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Sunday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="a600701f0e593ea116e37ae37cb6ebc83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Thursday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Thursday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Thursday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="a823d27321b3eb2f1c2b8de2924488a07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Tuesday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Tuesday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Tuesday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
<a class="anchor" id="a498ef4682162163c17a324c06e9835cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DateTime Catharsis.Commons.DateTimeExtensions.UpTo </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Action&#160;</td>
          <td class="paramname"><em>action</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>For a given range of dates increments starting date by one day up to final date, calling specified action with each iteration.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Starting date to increment.</td></tr>
    <tr><td class="paramname">to</td><td>Final date to increment to.</td></tr>
    <tr><td class="paramname">action</td><td>Delegate to call on each step of iteration.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Back reference to <em>self</em>  instance.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>action</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae1679d42cc4764b09b5b61ea9cb2621d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool Catharsis.Commons.DateTimeExtensions.Wednesday </td>
          <td>(</td>
          <td class="paramtype">this DateTime&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Determines whether specified DateTime object represents a Wednesday day of week.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>Date instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> of <em>self</em> 's day of week is Wednesday, false if not.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>DateTime.DayOfWeek</dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_catharsis.html">Catharsis</a></li><li class="navelem"><a class="el" href="namespace_catharsis_1_1_commons.html">Commons</a></li><li class="navelem"><a class="el" href="class_catharsis_1_1_commons_1_1_date_time_extensions.html">DateTimeExtensions</a></li>
    <li class="footer">Generated on Wed Aug 6 2014 00:10:36 for Catharsis.NET.Commons by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
